package com.cajunstraps.tabasco.backing;

/**
 * A typical simple backing bean, that is backed to <code>helloworld.jsp</code>
 * 
 * @author <a href="mailto:matzew@apache.org">Matthias We&szlig;endorf</a> 
 */
public class HelloWorldBacking {

    
    //properties
    private String name;
    
    /**
     * default empty constructor
     */
    public HelloWorldBacking(){   
    }
    
    //-------------------getter & setter
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    
    /**
     * Method that is backed to a submit button of a form.
     */
    public String send(){
        //do real logic
        return ("success");
    }
}